module split (
    input [31:0] A,
    output [7:0] O1,
    output [7:0] O2,
    output [7:0] O3,
    output [7:0] O4
);

genvar i;

generate
    for (i = 0;i <= 7;i = i + 1) begin
        assign O1[i] = A[31 - i]; 
        assign O2[i] = A[23 - i];
        assign O3[i] = A[15 - i];
        assign O4[i] = A[7 - i];
    end
endgenerate

endmodule